package org.raymond.icloud.apis.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.raymond.icloud.common.core.mybatis.entity.AbstractEntity;

import javax.validation.constraints.NotEmpty;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_merchant")
public class TMerchant extends AbstractEntity {
    @TableId(value="id", type= IdType.ASSIGN_ID)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("state")
    private Integer state;
}
